import 'package:shared_preferences/shared_preferences.dart';

class LocalStorage{
  static save(String key,value) async{
    SharedPreferences sp = await SharedPreferences.getInstance();
    sp.setString(key, value);
  }
  static get(String key) async{
    SharedPreferences sp = await SharedPreferences.getInstance();
    return sp.get(key);
  }
  static remove(String key) async{
    SharedPreferences sp = await SharedPreferences.getInstance();
    sp.remove(key);
  }
}